package com.test.demo.main.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * 文件名:
 * 功能描述:
 */
public class ItemTopicDetailsBean implements MultiItemEntity {

    //一张图片类型 竖版或者横向
    public static final int ONE_IMAGE = 0;
    //二张图片类型
    public static final int TWO_IMAGE = 1;
    //多张图片类型
//    public static final int MONE_IMAGE = 2;
    //视频格式
    public static final int VIDEO_PLAY = 3;
    //播放视频类型
    private int fieldType;

    public ItemTopicDetailsBean(int fieldType) {
        //将传入的type赋值
        this.fieldType = fieldType;
    }

    @Override
    public int getItemType() {
        //返回传入的itemType
        return fieldType;
    }

}
